﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using devtm.Config;

namespace devtm.Configuration.Models
{


    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = true)]
    public class ListeSelectorAttribute : CustomDesignerAttribute
    {

        public ListeSelectorAttribute(string propertyName, string showLabel)
            : base(ConfigConstants.Design.ListeSelectorParam.ToString())
        {
            this.PropertyName = propertyName;
            this.ShowLabel = showLabel;

        }

        public string PropertyName { get; set; }

        public string ShowLabel { get; set; }

    }
}
